package io.awen.modules.sign.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.awen.common.utils.PageUtils;
import io.awen.modules.sign.entity.SignCarEntity;
import io.awen.modules.sign.entity.SignCarLonLatEntity;

import java.util.List;
import java.util.Map;

/**
 * 收运单位车辆经纬度记录表
 *
 * @author liu.wen
 * @email liu.wen@qq.com
 * @date 2022-08-10 00:47:08
 */
public interface SignCarLonLatService extends IService<SignCarLonLatEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据车牌号获取最新的车辆经纬度记录
     */
    public SignCarLonLatEntity getLatestByCarNumber(String carNumber);

    List<SignCarLonLatEntity> getListByCarIdAndDate(Long carId, String startDate,String endDate);
    SignCarLonLatEntity  getCarLoc(SignCarEntity entity);

}

